package young.zhang.domain;

import young.zhang.domain.enums.EatableTypeEnum;

import java.awt.Point;

public class AssHole implements IEatable {
    private String groupName;
    private Point assHoleCoordinate;
    private float assHoleRadius;
    private float visionRadius;
    private Double discount;
    private boolean eatable;

    public boolean isEatable() {
        return eatable;
    }

    public void setEatable(boolean eatable) {
        this.eatable = eatable;
    }

    public AssHole(String groupName, Point assHoleCoordinate, float assHoleRadius, float visionRadius) {
        this.groupName = groupName;
        this.assHoleCoordinate = assHoleCoordinate;
        this.assHoleRadius = assHoleRadius;
        this.visionRadius = visionRadius;
    }

    public String getGroupName() {
        return this.groupName;
    }

    public Point getAssHoleCoordinate() {
        return this.assHoleCoordinate;
    }

    public float getAssHoleRadius() {
        return this.assHoleRadius;
    }

    public float getVisionRadius() {
        return this.visionRadius;
    }

    public EatableTypeEnum getEatableType() {
        return EatableTypeEnum.ASS_HOLE;
    }

    public float getEatableRadius() {
        return this.assHoleRadius;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public void setAssHoleCoordinate(Point assHoleCoordinate) {
        this.assHoleCoordinate = assHoleCoordinate;
    }

    public void setAssHoleRadius(float assHoleRadius) {
        this.assHoleRadius = assHoleRadius;
    }

    public void setVisionRadius(float visionRadius) {
        this.visionRadius = visionRadius;
    }

    public Double getDiscount() {
        return discount;
    }

    public void setDiscount(Double discount) {
        this.discount = discount;
    }
}
